package com.kaifamiao.demo.d0725;

public class Test2 {

    public static void main(String[] args) {
        Person p = new Person();

        Person p1 = new Person();

        System.out.println(p.age);
        System.out.println(p1.age);
        System.out.println(Person.num);

        p.num = 18;

        System.out.println(p1.num);
        System.out.println(Person.num);


        p.name = "尼古拉斯";

        System.out.println(p1.name); // null
    }
}
